import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request
export default {
	// 消息订阅列表
	getWaitPostList(params) {
		let url = `notice/messageRecord/queryByCondition`
		return api.request(url,'post',{
			...params
		})
	},
	// 事项
	listByPartyTypeAndPartyNo(params) {
		let url = `notice/matter/queryByCondition`
		return api.request(url,'post',{
			...params
		})
	},
	// 事项处理
	handleMatter(params) {
		let url = `notice/matter/handleMatter`
		return api.request(url,'post',{
			...params
		})
	},
	// 未读消息总数
	queryUnreadNum(params) {
		let url = 'notice/messageRecordInfo/box/count'
		return api.request(url,'post',{
			...params
		})
	},
	// 点击阅读消息
	readMessage(params) {
		let url = `notice/messageRecord/readMessage`
		return api.request(url,'post',{
			...params
		})
	},
	// 获取帖子分类
	queryPostVariety(params){
		let url = 'socialized-expert/invitationType/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 获取帖子
	queryPost(params) {
		let url = 'socialized-expert/invitation/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	}

}